<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="${basePath}/static/css/style.css" />
    <#include "/common_js.html"/>
    <!--[if IE 6]>
    <script src="${basePath}/static/js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->    


    <#include "/common_js.html"/>
    <script type="text/javascript" src="${basePath}/static/shopping/web/js/cookie.js"></script>
    <script type="text/javascript" src="${basePath}/static/shopping/web/js/user/login.js"></script>
    <script type="text/javascript" src="${basePath}/static/shopping/web/js/user/sso.js"></script>


    <title>犀鸟商城——用户登录</title>

    <style>
        .login_warn_icon{
            width:16px;
            height:17px;
            overflow:hidden;
            background:url(../../static/images/login-icons.png) -104px -24px no-repeat;
        }
    </style>
</head>
<body>  
<!--Begin Header Begin-->
<div class="soubg">
    <#include "/top.html"/>
</div>
<!--End Header End-->
<div class="top">
    <#assign pageTitle = "欢迎登录">
    <#include "/logo.html"/>
</div>
<!--Begin Login Begin-->
<div class="log_bg">
	<div class="login">
    	<div class="log_img"><img src="${basePath}/static/images/l_img.png" width="611" height="425" /></div>
		<div class="log_c" id="ldiv">
        	<form>
                <input type="hidden" id="ivcode" value="${isShowInputVcode?string('1','0')}"/>
                <input type="hidden" id="redirectUrl" value="${redirectUrl!''}" />
            <table border="0" style="width:370px; font-size:14px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr height="50" valign="top">
              	<td width="55">&nbsp;</td>
                <td>
                	<span class="fl" style="font-size:24px;">登录</span>
                    <span class="fr">还没有商城账号，<a href="${basePath}/page/user/regist" style="color:#ff4e00;">立即注册</a></span>
                </td>
              </tr>
              <tr height="70">
                <td>用户名</td>
                <td><input type="text" id="username" name="username" value="" class="l_user" placeholder="手机号/邮箱/用户名" maxlength="50" /></td>
              </tr>
              <tr height="70">
                <td>密&nbsp; &nbsp; 码</td>
                <td><input type="password" id="password" name="password" value="" class="l_pwd" placeholder="请输入密码" maxlength="15" /></td>
              </tr>
              <tr height="70" id="vcodetr" style="display:none">
                <td>验证码</td>
                <td>
                    <input type="text" id="vcode" name="vcode" style="vertical-align:middle;" class="l_ipt" placeholder="请输入验证码" maxlength="4" />
                    <img id="refreshCaptcha" style="width:100px;height:40px;vertical-align:middle;"  src="${basePath}/api/user/login/faild/vcode" >
                </td>
              </tr>
              <tr>
              	<td>&nbsp;</td>
                <td style="font-size:12px; padding-top:20px;">
                	<span  class="fl">
                        &nbsp;&nbsp;&nbsp;
                    </span>
                    <span class="fr"><a href="${basePath}/page/user/forget/pwd" style="color:#ff4e00;">忘记密码</a></span>
                </td>
              </tr>
              <tr height="60">
              	<td>&nbsp;</td>
                  <td><div style="width: 100%;"><button type="button" onclick="login();"  id="login_btn" class="log_btn" >登录</button></div></td>
              </tr>
                <tr height="30">
                    <td align="right"></td>
                    <td id="login_msg_c" style="display:none">
                        <b class="login_warn_icon">
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </b>
                        <a id="login_msg" style="color:#ff4e00;"></a>
                    </td>
                </tr>
            </table>
            </form>
        </div>
    </div>
</div>
<!--End Login End-->

<#include "/footer.html"/>

</body>


</html>
